
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.CurePig;
import cn.edu.scau.cmi.hombio.domain.Pig;
import cn.edu.scau.cmi.hombio.domain.PigType;
import cn.edu.scau.cmi.hombio.domain.PigWeight;
import cn.edu.scau.cmi.hombio.domain.SalePig;
import cn.edu.scau.cmi.hombio.domain.TaskPig;
import cn.edu.scau.cmi.hombio.domain.Transfer;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Pig entities
 * 
 */
public interface PigService {

	/**
	* Delete an existing CurePig entity
	* 
	 */
	public Pig deletePigCurePigs(Integer pig_id, Integer related_curepigs_id);

	/**
	* Delete an existing Pig entity
	* 
	 */
	public Pig deletePigPigByThirdLikelyMaleParentId(Integer pig_id_1, Integer related_pigbythirdlikelymaleparentid_id);

	/**
	* Delete an existing PigType entity
	* 
	 */
	public Pig deletePigPigType(Integer pig_id_2, Integer related_pigtype_id);

	/**
	* Save an existing Pig entity
	* 
	 */
	public Pig savePigPigByFemaleParentId(Integer id, Pig related_pigbyfemaleparentid);

	/**
	* Save an existing Pig entity
	* 
	 */
	public Pig savePigPigBySecondLikelyMaleParentId(Integer id_1, Pig related_pigbysecondlikelymaleparentid);

	/**
	 */
	public Pig findPigByPrimaryKey(Integer id_2);

	/**
	* Delete an existing Pig entity
	* 
	 */
	public Pig deletePigPigsForMostLikelyMaleParentId(Integer pig_id_3, Integer related_pigsformostlikelymaleparentid_id);

	/**
	* Load an existing Pig entity
	* 
	 */
	public Set<Pig> loadPigs();

	/**
	* Delete an existing SalePig entity
	* 
	 */
	public Pig deletePigSalePigs(Integer pig_id_4, Integer related_salepigs_id);

	/**
	* Save an existing Pig entity
	* 
	 */
	public Pig savePigPigsForThirdLikelyMaleParentId(Integer id_3, Pig related_pigsforthirdlikelymaleparentid);

	/**
	* Return all Pig entity
	* 
	 */
	public List<Pig> findAllPigs(Integer startResult, Integer maxRows);

	/**
	* Delete an existing Pig entity
	* 
	 */
	public void deletePig(Pig pig);

	/**
	* Delete an existing PigWeight entity
	* 
	 */
	public Pig deletePigPigWeights(Integer pig_id_5, Integer related_pigweights_id);

	/**
	* Save an existing Pig entity
	* 
	 */
	public void savePig(Pig pig_1);

	/**
	* Save an existing SalePig entity
	* 
	 */
	public Pig savePigSalePigs(Integer id_4, SalePig related_salepigs);

	/**
	* Delete an existing Pig entity
	* 
	 */
	public Pig deletePigPigsForFemaleParentId(Integer pig_id_6, Integer related_pigsforfemaleparentid_id);

	/**
	* Delete an existing TaskPig entity
	* 
	 */
	public Pig deletePigTaskPigs(Integer pig_id_7, Integer related_taskpigs_id);

	/**
	* Return a count of all Pig entity
	* 
	 */
	public Integer countPigs();

	/**
	* Delete an existing Pig entity
	* 
	 */
	public Pig deletePigPigByMostLikelyMaleParentId(Integer pig_id_8, Integer related_pigbymostlikelymaleparentid_id);

	/**
	* Delete an existing Transfer entity
	* 
	 */
	public Pig deletePigTransfers(Integer pig_id_9, Integer related_transfers_id);

	/**
	* Save an existing CurePig entity
	* 
	 */
	public Pig savePigCurePigs(Integer id_5, CurePig related_curepigs);

	/**
	* Save an existing Pig entity
	* 
	 */
	public Pig savePigPigByThirdLikelyMaleParentId(Integer id_6, Pig related_pigbythirdlikelymaleparentid);

	/**
	* Save an existing Transfer entity
	* 
	 */
	public Pig savePigTransfers(Integer id_7, Transfer related_transfers);

	/**
	* Save an existing Pig entity
	* 
	 */
	public Pig savePigPigsForFemaleParentId(Integer id_8, Pig related_pigsforfemaleparentid);

	/**
	* Save an existing TaskPig entity
	* 
	 */
	public Pig savePigTaskPigs(Integer id_9, TaskPig related_taskpigs);

	/**
	* Save an existing Pig entity
	* 
	 */
	public Pig savePigPigsForSecondLikelyMaleParentId(Integer id_10, Pig related_pigsforsecondlikelymaleparentid);

	/**
	* Save an existing PigType entity
	* 
	 */
	public Pig savePigPigType(Integer id_11, PigType related_pigtype);

	/**
	* Save an existing PigWeight entity
	* 
	 */
	public Pig savePigPigWeights(Integer id_12, PigWeight related_pigweights);

	/**
	* Delete an existing Pig entity
	* 
	 */
	public Pig deletePigPigByFemaleParentId(Integer pig_id_10, Integer related_pigbyfemaleparentid_id);

	/**
	* Save an existing Pig entity
	* 
	 */
	public Pig savePigPigByMostLikelyMaleParentId(Integer id_13, Pig related_pigbymostlikelymaleparentid);

	/**
	* Save an existing Pig entity
	* 
	 */
	public Pig savePigPigsForMostLikelyMaleParentId(Integer id_14, Pig related_pigsformostlikelymaleparentid);

	/**
	* Delete an existing Pig entity
	* 
	 */
	public Pig deletePigPigsForThirdLikelyMaleParentId(Integer pig_id_11, Integer related_pigsforthirdlikelymaleparentid_id);

	/**
	* Delete an existing Pig entity
	* 
	 */
	public Pig deletePigPigBySecondLikelyMaleParentId(Integer pig_id_12, Integer related_pigbysecondlikelymaleparentid_id);

	/**
	* Delete an existing Pig entity
	* 
	 */
	public Pig deletePigPigsForSecondLikelyMaleParentId(Integer pig_id_13, Integer related_pigsforsecondlikelymaleparentid_id);
}